package com.jmb.api.model.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import java.util.Date;
import lombok.Data;

/**
 * 
 * @TableName feedback
 */
@TableName(value ="feedback")
@Data
public class Feedback extends BaseEntity {
    /**
     * 
     */
    @TableId(value = "id", type = IdType.AUTO)
    private Integer id;

    /**
     * 评分
     */
    @TableField(value = "rate")
    private Integer rate;

    /**
     * 反馈内容
     */
    @TableField(value = "content")
    private String content;

    /**
     * 
     */
    @TableField(value = "created_time")
    private Date createdTime;

    /**
     * 0未读 1已读未回 2已回待阅  3已回已阅
     */
    @TableField(value = "status")
    private Integer status;

    /**
     * 反馈人昵称（real_name）
     */
    @TableField(value = "creator_name")
    private String creatorName;

    /**
     * 反馈人id（user_id）
     */
    @TableField(value = "creator_id")
    private Integer creatorId;

    /**
     * 回复
     */
    @TableField(value = "reply")
    private String reply;

    /**
     * 
     */
    @TableField(value = "reply_time")
    private Date replyTime;

    /**
     * 解决方案 0暂不调整 1延期解决 2已解决 3未答复
     */
    @TableField(value = "solution")
    private Integer solution;
}